package br.edu.ufcg.p1.barzin.model;

import java.util.List;

import com.google.gson.annotations.SerializedName;

public class Categoria {

	private int id;
	
	@SerializedName("bar_id")
	private int barId;
	
	private String nome;

	@SerializedName("categoria_mae_id")
	private int categoriaMaeId;

	private List<Categoria> subcategorias;
	private List<Item> itens;
	
	public Categoria(int id, int barId, String nome, int categoriaMaeId,
			List<Categoria> subcategorias, List<Item> itens) {
		this.id = id;
		this.barId = barId;
		this.nome = nome;
		this.categoriaMaeId = categoriaMaeId;
		this.subcategorias = subcategorias;
		this.itens = itens;
	}

	public int getId() {
		return id;
	}

	public String getNome() {
		return nome;
	}

	public List<Item> getItens() {
		return itens;
	}

	public int getBarId() {
		return barId;
	}

	public int getCategoriaMaeId() {
		return categoriaMaeId;
	}

	public List<Categoria> getSubcategorias() {
		return subcategorias;
	}
	
}
